<?php
	$path_one = 'admin/main';
	$path_two = 'admin/main';
	$filename = 'admin/change_pwd';
	require_once("header.php");
	require_once("admin_comm.php");
	require_once $_site->get_handlepath('admin');
?>
<script type="text/javascript" charset="utf-8">

	loader.file({
		plugin:['validform/main'],
		skincss:['list']
	});
	$(document).ready(function(){

		var form_obj=$("#form1").Validform({
		   tiptype: function(msg, o, cssctl){
			   if(!o.obj.is("form")){
				   var obj = o.obj.parent("td").find('tt');
				   cssctl(obj, o.type);
				   obj.text(msg);
			   }
		   },
		   postonce:true

		})
	})

</script>
</head>
<body>
	<div class="position_nav">你所在的当前位置：<?php echo $path_str;?></div>
		<div class="main">
			<form action="/handle.php" method="post" id='form1'>
			<input type="hidden" name="h" value="admin/pwd_edit">
			<table  cellpadding="0" cellspacing="1" border="0" class="table table_text">
				<tr>
					<td class="left">原密码：</td>
					<td>
						<input type="password" class="w260" name='old_pwd' value="" datatype='*6-20' nullmsg='请填写密码！' errormsg='密码字符在6-20以内'><tt></tt>
					</td>
				</tr>
				<tr>
					<td class="left">新密码：</td>
					<td>
						<input type="password" class="w260" name='password' value="" datatype='check_pwd' nullmsg='请填写新密码！' errormsg='密码字符在6-20以内'><span class='comment'>密码在6-20个字符，不能是纯数字或者纯字母</span><tt></tt>
					</td>
				</tr>
				<tr>
					<td class="left">确认密码：</td>
					<td>
						<input type="password" class="w260" name='repwd' value="" datatype='check_pwd' errormsg="两次输入的密码不一致！" recheck="password" nullmsg="请填写密码！"><tt></tt>
					</td>
				</tr>
				<tr>
					<td></td>
					<td>
						<input class="button1" type="submit" value="修改">
					</td>
				</tr>

			</table>
			</form>
		</div>
	</div>
</body>
</html>



